home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form1
- BorderStyle = 1 'Fixed Single
- Caption = "AfKayAs Crackme 2 Keygen"
- ClientHeight = 2130
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 3615
- Icon = "AfKayAs Crackme 2 keygen source.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2130
- ScaleWidth = 3615
- StartUpPosition = 2 'CenterScreen
- Begin VB.CommandButton Command1
- Caption = "Calculate"
- Default = -1 'True
- Height = 495
- Left = 1200
- TabIndex = 1
- Top = 840
- Width = 1335
- End
- Begin VB.TextBox Text1
- Height = 375
- Left = 960
- TabIndex = 0
- ToolTipText = "Enter your name"
- Top = 240
- Width = 2415
- End
- Begin VB.Label Label2
- Caption = "Serial"
- Height = 375
- Left = 120
- TabIndex = 4
- Top = 1560
- Width = 735
- End
- Begin VB.Label Label3
- Caption = "Name"
- Height = 375
- Left = 120
- TabIndex = 3
- Top = 240
- Width = 735
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- Appearance = 0 'Flat
- BackColor = &H80000005&
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 375
- Left = 960
- TabIndex = 2
- ToolTipText = "Click here to copy the serial to clipboard"
- Top = 1560
- Width = 2415
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- If Text1.Text = "" Then
- MsgBox "Enter a valid name", vbOKOnly, "Keygen" 'test if username entered
- Exit Sub
- End If
- username = Text1.Text
- ' serial = [lenght of username * 15B38h + ASCII_Code_Of_First_Char_From_Username]*3 - 2 +15
- serial = (Len(username) * &H15B38 + Asc(username) + 2) * 3 - 2 + 15 ' the serial is calculated
- Label1.Caption = serial 'serial is displayed in the Label1
- Clipboard.SetText serial 'serial is copied to Clipboard
- End Sub
- Private Sub Command2_Click()
- End 'exit the keygen
- End Sub
-